<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop_url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shop_url" data-rule="required" class="form-control" name="row[shop_url]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sync_order_url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sync_order_url" data-rule="required" class="form-control" name="row[sync_order_url]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sync_goods_url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sync_goods_url" data-rule="required" class="form-control" name="row[sync_goods_url]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop_hash')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shop_hash" data-rule="required" class="form-control" name="row[shop_hash]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Comp_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-comp_name" data-rule="required" class="form-control" name="row[comp_name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Comp_phone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-comp_phone" class="form-control" name="row[comp_phone]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Comp_email')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-comp_email" class="form-control" name="row[comp_email]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goods_update')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_update" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[goods_update]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_update')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_update" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[order_update]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Express_update')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-express_update" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[express_update]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Trans_switch')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <input  id="c-trans_switch" name="row[trans_switch]" type="hidden" value="0">
            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-trans_switch" data-yes="1" data-no="0" >
                <i class="fa fa-toggle-on text-success fa-flip-horizontal text-gray fa-2x"></i>
            </a>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Update_switch')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-update_switch" data-rule="required" class="form-control selectpicker" name="row[update_switch]">
                {foreach name="updateSwitchList" item="vo"}
                    <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
